package com.sy.core.model.common;

import java.io.Serializable;

/**
 * 树的实体类
 */
public class Tree implements Serializable {

    private String pk;
    private String name;
    private boolean leaf;

    public Tree() {
    }

    public Tree(String pk, String name, boolean leaf) {
        this.pk = pk;
        this.name = name;
        this.leaf = leaf;
    }

    public String getPk() {
        return pk;
    }

    public void setPk(String pk) {
        this.pk = pk;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isLeaf() {
        return leaf;
    }

    public void setLeaf(boolean leaf) {
        this.leaf = leaf;
    }
}
